Integrand size = 21, antiderivative size = 68 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=-\frac {(a+3 b) \cot (e+f x)}{f}-\frac {(2 a+3 b) \cot ^3(e+f x)}{3 f}-\frac {(a+b) \cot ^5(e+f x)}{5 f}+\frac {b \tan (e+f x)}{f} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {4217, 459} \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=-\frac {(a+b) \cot ^5(e+f x)}{5 f}-\frac {(2 a+3 b) \cot ^3(e+f x)}{3 f}-\frac {(a+3 b) \cot (e+f x)}{f}+\frac {b \tan (e+f x)}{f} \]
[In]
[Out]
Rule 459
Rule 4217
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\left (1+x^2\right )^2 \left (a+b+b x^2\right )}{x^6} \, dx,x,\tan (e+f x)\right )}{f} \\ & = \frac {\text {Subst}\left (\int \left (b+\frac {a+b}{x^6}+\frac {2 a+3 b}{x^4}+\frac {a+3 b}{x^2}\right ) \, dx,x,\tan (e+f x)\right )}{f} \\ & = -\frac {(a+3 b) \cot (e+f x)}{f}-\frac {(2 a+3 b) \cot ^3(e+f x)}{3 f}-\frac {(a+b) \cot ^5(e+f x)}{5 f}+\frac {b \tan (e+f x)}{f} \\ \end{align*}
Time = 0.73 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.88 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=-\frac {8 a \cot (e+f x)}{15 f}-\frac {11 b \cot (e+f x)}{5 f}-\frac {4 a \cot (e+f x) \csc ^2(e+f x)}{15 f}-\frac {3 b \cot (e+f x) \csc ^2(e+f x)}{5 f}-\frac {a \cot (e+f x) \csc ^4(e+f x)}{5 f}-\frac {b \cot (e+f x) \csc ^4(e+f x)}{5 f}+\frac {b \tan (e+f x)}{f} \]
[In]
[Out]
Time = 0.66 (sec) , antiderivative size = 89, normalized size of antiderivative = 1.31
method | result | size |
parallelrisch | \(-\frac {\left (\left (a +6 b \right ) \cos \left (2 f x +2 e \right )+\frac {4 \left (-a -6 b \right ) \cos \left (4 f x +4 e \right )}{5}+\frac {\left (a +6 b \right ) \cos \left (6 f x +6 e \right )}{5}+2 a \right ) \sec \left (\frac {f x}{2}+\frac {e}{2}\right )^{5} \csc \left (\frac {f x}{2}+\frac {e}{2}\right )^{5}}{384 f \cos \left (f x +e \right )}\) | \(89\) |
risch | \(-\frac {16 i \left (10 a \,{\mathrm e}^{6 i \left (f x +e \right )}+5 a \,{\mathrm e}^{4 i \left (f x +e \right )}+30 b \,{\mathrm e}^{4 i \left (f x +e \right )}-4 a \,{\mathrm e}^{2 i \left (f x +e \right )}-24 b \,{\mathrm e}^{2 i \left (f x +e \right )}+a +6 b \right )}{15 f \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )^{5} \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )}\) | \(98\) |
derivativedivides | \(\frac {a \left (-\frac {8}{15}-\frac {\csc \left (f x +e \right )^{4}}{5}-\frac {4 \csc \left (f x +e \right )^{2}}{15}\right ) \cot \left (f x +e \right )+b \left (-\frac {1}{5 \sin \left (f x +e \right )^{5} \cos \left (f x +e \right )}-\frac {2}{5 \sin \left (f x +e \right )^{3} \cos \left (f x +e \right )}+\frac {8}{5 \sin \left (f x +e \right ) \cos \left (f x +e \right )}-\frac {16 \cot \left (f x +e \right )}{5}\right )}{f}\) | \(101\) |
default | \(\frac {a \left (-\frac {8}{15}-\frac {\csc \left (f x +e \right )^{4}}{5}-\frac {4 \csc \left (f x +e \right )^{2}}{15}\right ) \cot \left (f x +e \right )+b \left (-\frac {1}{5 \sin \left (f x +e \right )^{5} \cos \left (f x +e \right )}-\frac {2}{5 \sin \left (f x +e \right )^{3} \cos \left (f x +e \right )}+\frac {8}{5 \sin \left (f x +e \right ) \cos \left (f x +e \right )}-\frac {16 \cot \left (f x +e \right )}{5}\right )}{f}\) | \(101\) |
norman | \(\frac {\frac {a +b}{160 f}+\frac {\left (a +b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{12}}{160 f}-\frac {5 \left (a +7 b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{6}}{8 f}+\frac {5 \left (5 a +21 b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{4}}{96 f}+\frac {5 \left (5 a +21 b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{8}}{96 f}+\frac {\left (11 a +21 b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}}{240 f}+\frac {\left (11 a +21 b \right ) \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{10}}{240 f}}{\tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{5} \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}-1\right )}\) | \(169\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.34 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=-\frac {8 \, {\left (a + 6 \, b\right )} \cos \left (f x + e\right )^{6} - 20 \, {\left (a + 6 \, b\right )} \cos \left (f x + e\right )^{4} + 15 \, {\left (a + 6 \, b\right )} \cos \left (f x + e\right )^{2} - 15 \, b}{15 \, {\left (f \cos \left (f x + e\right )^{5} - 2 \, f \cos \left (f x + e\right )^{3} + f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
Timed out. \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.94 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=\frac {15 \, b \tan \left (f x + e\right ) - \frac {15 \, {\left (a + 3 \, b\right )} \tan \left (f x + e\right )^{4} + 5 \, {\left (2 \, a + 3 \, b\right )} \tan \left (f x + e\right )^{2} + 3 \, a + 3 \, b}{\tan \left (f x + e\right )^{5}}}{15 \, f} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.12 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=\frac {15 \, b \tan \left (f x + e\right ) - \frac {15 \, a \tan \left (f x + e\right )^{4} + 45 \, b \tan \left (f x + e\right )^{4} + 10 \, a \tan \left (f x + e\right )^{2} + 15 \, b \tan \left (f x + e\right )^{2} + 3 \, a + 3 \, b}{\tan \left (f x + e\right )^{5}}}{15 \, f} \]
[In]
[Out]
Time = 18.93 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.88 \[ \int \csc ^6(e+f x) \left (a+b \sec ^2(e+f x)\right ) \, dx=\frac {b\,\mathrm {tan}\left (e+f\,x\right )}{f}-\frac {\left (a+3\,b\right )\,{\mathrm {tan}\left (e+f\,x\right )}^4+\left (\frac {2\,a}{3}+b\right )\,{\mathrm {tan}\left (e+f\,x\right )}^2+\frac {a}{5}+\frac {b}{5}}{f\,{\mathrm {tan}\left (e+f\,x\right )}^5} \]
[In]
[Out]